<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!--   -->

<div style="text-align: center;">
	<ul class="pagination">
		<c:if test="${pagehelper.hasPreviousPage}"><li><a href="?pageNum=${pagehelper.firstPage}">&lt;&lt;</a></li><li><a href="?pageNum=${pagehelper.prePage}">&lt;</a></li></c:if><c:forEach items="${pagehelper.navigatepageNums}" var="navigatepageNum"><c:if test="${navigatepageNum==pagehelper.pageNum}">
				<li class="active"><a href="?pageNum=${navigatepageNum} ">${navigatepageNum}</a></li></c:if><c:if test="${navigatepageNum!=pagehelper.pageNum}"><li><a href="?pageNum=${navigatepageNum}">${navigatepageNum}</a></li></c:if>
		</c:forEach><c:if test="${pagehelper.hasNextPage}"><li><a href="?pageNum=${pagehelper.nextPage}">&gt;</a></li>
			<li><a href="?pageNum=${pagehelper.lastPage}">&gt;&gt;</a></li></c:if>
	</ul>
	<div class="pull-right">
		共<i class="blue">${pagehelper.total}</i>条记录，当前显示第&nbsp;<i class="blue">${pagehelper.pageNum}/${pagehelper.pages}</i>&nbsp;页
	</div>
</div>
